{:W('Header')}
<div class="list-div" id="listDiv">
    <table width="90%" style="margin: 0 auto">
        <tr style="font-size: 15px;background-color: #78C3F3;height: 40px">
            <th style="">需求登记号</th>
            <th>商品名</th>
            <th>商品数量</th>
            <th>联系电话</th>
            <th>取药门店</th>
            <th>登记时间</th>
            <th>审核状态</th>
            <th>登记状态</th>
            <th>操作</th>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <foreach name="rxArr" item="v">
            <tr align="center" style="height: 30px;font-size: 15px;">
                <td>{$v.rx_sn}</td>
                <td>{$v.goods_name}</td>
                <td>{$v.num}</td>
                <td>{$v.rx_phone}</td>
                <td>{$v.store.address}</td>
                <td>{$v.add_time|date="Y-m-d H:i:s",###}</td>
                <td>{$v.rx_status}</td>
                <td>{$v.order_status}</td>
                <td>
                    <a href="{:U('/'.$v['rx_image'])}" target="_blank" style="color: #00a0e9">查看处方单图片</a>
                </td>
            </tr>
        </foreach>
    </table>
    <if condition="!is_array($rxArr) ">
        <div style="text-align:center">
            <a href="{:U(GROUP_NAME.'/Index')}">
                <span style="font-weight: bolder;font-size: 20px;color: #000;">无记录</span>
            </a>
            <div>
                <a href="{:U(GROUP_NAME.'/Index')}">
                    <img src="__PUBLIC__/Images/cart.jpg" alt="无记录">
                </a>
            </div>
        </div>
    </if>
</div>
{:W('Footer')}